<?php

/**
 * @author Archer
 * @note Http请求处理
 * @mail 188802862@qq.com
 */

namespace console\http;

use console\core\manager\InstanceManager;

class Request extends InstanceManager
{
    //获取GET请求参数
    static function get($name = '', $default = '' ,$filter = null,$notEmpty = false ,$noRecursive = false)
    {
        return self::Request()->get($name,$filter,$default,$notEmpty,$noRecursive);
    }

    //获取POST请求参数
    static function post(){}

    //是否为GET请求
    static function isGet(){}

    //是否为Post请求
    static function isPost(){}

    //是否为Ajax请求
    static function isAjax(){}
}